/*
 * Word.h
 *
 *  Created on: 2017年6月21日
 *      Author: heqian
 */

#ifndef MMSEG_WORD_H_
#define MMSEG_WORD_H_

#include <string.h>
#include <string>
#include "EnumPos.h"

using namespace std;

namespace mmseg {

class Word {
public:
	Word(int offset, int size, EnumPos pos, const string& other);
	Word(int offset, int size);
	virtual ~Word();

	const string& getOther() const;
	EnumPos getPos() const;
	int getSize() const;
	int getOffset() const;

private:
	EnumPos mPos;
	string mOther;
	int mSize;
	int mOffset;
};

} /* namespace mmseg */

#endif /* MMSEG_WORD_H_ */
